<template>
    <div class="login">
        <form>
            <p>用户名：<input type="text" name="user"></p>
            <p>密码：<input type="password" name="password"></p>
            <input type="button" @click="fun" value="提交">
        </form>
    </div>
</template>

<script>
export default {
    name: "Login",
    methods:{
        fun() {
            this.$router.push({path: "/app"})
        }
    }
}
</script>

<style>

</style>